

run{
    allocate channel t1 type disk maxpiecesize  30g;
    #allocate channel t2 type disk maxpiecesize  30g;
    sql 'alter system checkpoint' ;
    backup full database  tag full_x1oooo  format '/backup/trff/full_x1oooo_%d_%I_%s_%p_%T';  
    backup tag cf_x1oooo  current controlfile   format  '/backup/trff/cf_x1oooo_%d_%I_%s_%p_%T';
    backup tag sf_x1oooo  SPFILE format  '/backup/trff/cp_x1oooo_%d_%I_%s_%p_%T';
    backup archivelog all delete input tag arch_x1oooo format '/backup/trff/arch/x1oooo_%d_%I_%s_%p_%T';  
    sql 'alter system archive log current'; 
    release channel t1;
    #release channel t2;
}



